package org.item.common.bean;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@TableName("product")
public class Product extends BaseBean implements Serializable {
    @TableId(type = IdType.AUTO)

    private  Integer id;

    @TableField(condition = SqlCondition.LIKE)
    private String name;
    private BigDecimal price;
    private  String   category;
    private  String  brand;
    @TableField(condition = SqlCondition.LIKE)
    private  String title;
    private  String description;
    @TableField("is_active")
    private  Integer  is_active;


}
